package com.mhc.suzuki.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class CarInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键，车辆ID
     * pcl_car_info.car_id
     */
    private Long carId;

    /**
     * 订单编号
     * pcl_car_info.order_no
     */
    private String orderNo;

    /**
     * 车规：国产，进口
     * pcl_car_info.car_spec
     */
    private Integer carSpec;

    /**
     * 品牌车型
     * pcl_car_info.car_model
     */
    private String carModel;

    /**
     * 车辆级别：0 轿车，
     * pcl_car_info.car_level
     */
    private Integer carLevel;

    /**
     * 二手车车龄
     * pcl_car_info.car_age
     */
    @SuppressWarnings("squid:S3437")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime carAge;

    /**
     * 座位数
     * pcl_car_info.seats
     */
    private Integer seats;

    /**
     * 是否新车 0 新车 1 二手车
     * pcl_car_info.is_new_car
     */
    private Integer isNewCar;

    /**
     * 经销商编号
     * pcl_car_info.dealer_id
     */
    private String dealerId;

    /**
     * 经销商名称
     * pcl_car_info.dealer_name
     */
    private String dealerName;

    /**
     * 车主（行驶车主）
     * pcl_car_info.car_owner
     */
    private String carOwner;

    /**
     * 有无续保 0 无续保，1 有续保
     * pcl_car_info.renewal_insurance
     */
    private Boolean renewalInsurance;

    /**
     * 车价
     * pcl_car_info.deal_price
     */
    private java.math.BigDecimal dealPrice;

    /**
     * 新车指导价
     * pcl_car_info.guide_price
     */
    private java.math.BigDecimal guidePrice;

    /**
     * 牌照类型
     * pcl_car_info.license_plate_type
     */
    private Integer licensePlateType;

    /**
     * 上牌地
     * pcl_car_info.license_plate_addr
     */
    private String licensePlateAddr;

    /**
     * 发票开具单位
     * pcl_car_info.invoice_vendor
     */
    private String invoiceVendor;

    /**
     * 发票号
     * pcl_car_info.invoice_num
     */
    private String invoiceNum;

    /**
     * 车架号
     * pcl_car_info.vin_no
     */
    private String vinNo;

    /**
     * 发动机号
     * pcl_car_info.engine_num
     */
    private String engineNum;

    /**
     * GPS编号
     * pcl_car_info.gps_num
     */
    private String gpsNum;

    /**
     * gps安装位置
     * pcl_car_info.gps_set_location
     */
    private String gpsSetLocation;

    /**
     * GPS厂商
     * pcl_car_info.gps_factory
     */
    private String gpsFactory;

    /**
     * 备注
     * pcl_car_info.remark
     */
    private String remark;

    /**
     * 记录创建时间
     * pcl_car_info.gmt_create
     */
    @SuppressWarnings("squid:S3437")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime gmtCreate;

    /**
     * 记录修改时间
     * pcl_car_info.gmt_modified
     */
    @SuppressWarnings("squid:S3437")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime gmtModified;

}